package com.bgds.sys.api.bean.mars.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * /**
 *
 * @Description 报警事件详情
 * @Author lj
 * @create: 2020-08-03 16:29
 */
@ApiModel("报警事件详情")
@Data
public class AlarmEventDetails {

    @ApiModelProperty("报警详情id")
    @JsonProperty(value = "ed_id")
    private Integer edId;

    @ApiModelProperty("报警事件id")
    @JsonProperty(value = "ed_event_id")
    private Integer edEventId;

    @ApiModelProperty("测点id")
    @JsonProperty(value = "ed_node_id")
    private String edNodeId;

    @ApiModelProperty("测点名")
    @JsonProperty(value = "node_name")
    private String nodeName;

    @ApiModelProperty("报警值")
    @JsonProperty(value = "ed_value")
    private Float edValue;

    @ApiModelProperty("报警门限")
    @JsonProperty(value = "ed_limit")
    private String edLimit;

    @ApiModelProperty("报警等级")
    @JsonProperty(value = "ed_level")
    private Integer edLevel;


    @ApiModelProperty("报警时间")
    @JsonProperty(value = "ed_time")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date edTime;

    @ApiModelProperty("报警指标")
    @JsonProperty(value = "ed_index_code")
    private Integer edIndexCode;


    @ApiModelProperty("指标名称")
    @JsonProperty(value = "index_coexamine_name")
    private String indexCoexamineName;
}
